@charset "UTF-8";

html {
  height: 100%;
  font-size: 4px; // * 方便unocss计算：1单位 = 0.25rem = 1px
}

body {
  cursor: url(https://static.talkxj.com/css/default.cur), default;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  background: linear-gradient(
    90deg,
    rgba(247, 149, 51, 0.1) 0,
    rgba(243, 112, 85, 0.1) 15%,
    rgba(239, 78, 123, 0.1) 30%,
    rgba(161, 102, 171, 0.1) 44%,
    rgba(80, 115, 184, 0.1) 58%,
    rgba(16, 152, 173, 0.1) 72%,
    rgba(7, 179, 155, 0.1) 86%,
    rgba(109, 186, 130, 0.1) 100%
  );
  // font-family: 'Encode Sans Condensed', sans-serif;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Lato, Roboto, "PingFang SC",
    "Microsoft YaHei", sans-serif !important;
  // 设置无法选中文字
  // user-select: none;
  // -moz-user-select: none;
  // -webkit-user-select: none;
}

// 设置鼠标图标
a,
button,
img {
  cursor: url(https://static.talkxj.com/css/pointer.cur), default;
}

#app {
  width: 100%;
  height: 100%;
}

// 自定义滚动条样式
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgba(73, 177, 245, 0.2);
  border-radius: 2em;
}

::-webkit-scrollbar-thumb {
  background-color: #49b1f5;
  background-image: -webkit-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.4) 25%,
    transparent 25%,
    transparent 50%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0.4) 75%,
    transparent 75%,
    transparent
  );
  border-radius: 2em;
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

::-moz-selection {
  color: #fff;
  background-color: #49b1f5;
}
